package com.njl.controller;


import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.apache.log4j.Logger;
import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Namespace;
import org.apache.struts2.convention.annotation.Result;
import org.springframework.beans.factory.annotation.Autowired;

import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionSupport;
import com.syb.entity.function.SysResource;
import com.syb.entity.user.SysUser;
import com.syb.service.LoginService;

@SuppressWarnings("serial")
@Namespace("/")
public class LoginsController extends ActionSupport{
	private static  Logger logger  = Logger.getLogger(LoginsController.class);
	
	@Action(value="/register",
			results={
			@Result(name="success",location="/WEB-INF/page/foreground/user/registered.jsp"),
			@Result(name="error",location="/WEB-INF/page/manager/login.jsp")
			})
	public String register(){
		
			return "success";
	}
	
	
}
